package com.atguigu.day19.threadmethod.c2;
/*
Thread()
Thread(String name)
Thread(Runnable target)
Thread(Runnable target,String name)
 */
public class Test implements Runnable{
    public static void main(String[] args) {

        /*CatRunnable c = new CatRunnable();
       // Thread t1 = new Thread(c);
        Thread t1 = new Thread(c,"波斯猫");
        t1.start();*/

        CatRunnable c = new CatRunnable();

    }

    @Override
    public void run() {

    }
}
